package com.ubb.smartsearch.classifier.rocchio.entity;


import java.io.Serializable;
import java.util.List;
import java.util.Map;


public class Category implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String categoryName;
	private List<List<Tuple>> trainFilesRepresentation;
	private Map<Integer, Double> protoType;

	/**
	 * @return the categoryName
	 */
	public String getCategoryName() {
		return categoryName;
	}

	/**
	 * @param categoryName
	 *            the categoryName to set
	 */
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	/**
	 * @return the trainFilesRepresentation
	 */
	public List<List<Tuple>> getTrainFilesRepresentation() {
		return trainFilesRepresentation;
	}

	/**
	 * @param trainFilesRepresentation
	 *            the trainFilesRepresentation to set
	 */
	public void setTrainFilesRepresentation(List<List<Tuple>> trainFileRepresentation) {
		this.trainFilesRepresentation = trainFileRepresentation;
	}
	
	public void addTrainFileRepresentation(List<Tuple> trainFileRepresentation) {
		this.trainFilesRepresentation.add(trainFileRepresentation);
	}

	/**
	 * @return the protoType
	 */
	public Map<Integer, Double> getProtoType() {
		return protoType;
	}

	/**
	 * @param posSum the protoType to set
	 */
	public void setProtoType(Map<Integer, Double> posSum) {
		this.protoType = posSum;
	}

}
